﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EmptyASP.View
{
    public partial class Template : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public void setActiveMenuItem(String category)
        {
            menu.setActiveMenuItem(category);
        }
        public void setUser(System.Security.Principal.IPrincipal User)
        {
            if (User.Identity.IsAuthenticated)
            {
                menu.addAdminButton();
            }
        }
    }
}